package com.wnnight.wys.serviceImpl.car;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wnnight.wys.entity.car.CarInOut;
import com.wnnight.wys.mapper.car.CarInOutMapper;
import com.wnnight.wys.service.car.CarInOutService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @ClassName: CarInOutServiceImpl
 * @Description: 车辆管理实现
 * @author: CHX42
 * @date: 2022/8/28-13:41
 * @version: v1.0
 */
@Service
@Transactional
public class CarInOutServiceImpl extends ServiceImpl<CarInOutMapper, CarInOut> implements CarInOutService {
    @Autowired
    private CarInOutMapper carInOutMapper;

    @Override
    public Page<CarInOut> getAll(Page page, Wrapper wrapper) {
        return carInOutMapper.getAll(page,wrapper);
    }
}
